<%-- 
    Document   : CapNhatNguoiDung
    Created on : Oct 3, 2011, 10:47:10 PM
    Author     : miayeu
--%>

<%@page import="DatabasePOJO.user"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
  <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />        
            

        <script type="text/javascript" src="js/jquery-1.6.1.min.js?v=3.4.0"></script>
		<script type="text/javascript" src="js/jquery.ui.core.js?v=3.4.0"></script>
		<script type="text/javascript" src="js/jquery.ui.widget.js?v=3.4.0"></script>
		<script type="text/javascript" src="js/jquery.ui.datepicker.js?v=3.4.0"></script>
        <script type="text/javascript" src="js/jquery.ui.datepicker-vi.js?v=3.4.0"></script>
		<script type="text/javascript" src="js/jquery.atooltip.js?v=3.4.0"></script>
                <script type="text/javascript">
//<![CDATA[
var cfg = {"cfg":{"icm":0,"path_relative":"\/tp-ho-chi-minh\/","path_static":"\/","path_absolute":"http:\/\/deal.zing.vn\/","date_format":"d-M-Y","today_date":"2011-09-30","site_name":"zing_deal"}}
//]]>
</script><link rel="stylesheet" type="text/css" href="js/67c1986db3a007b5334d560ed8583f36_2010110100.css?v=3.4.0" />
	<script type="text/javascript" src="js/b3e8e106f3ec6f1432ea0a82e10941f9_2010110100.js?v=3.4.0"></script>
	<script type="text/javascript" src="js/function.js?v=3.4.0"></script>
	<script type="text/javascript" src="js/common.js?v=3.4.0"></script><script type="text/javascript" src="js/promotion.js?v=3.4.0"></script>                
        <script type="text/javascript" src="js/vi.js?v=3.4.0"></script>

		<!--[if IE 7]>
		<link rel="stylesheet" type="text/css" href="http://deal.zing.vn/static/css/themed/wothemes/if7fix.css" />				
		<![endif]-->
        
        <script type="text/javascript">
            //varables for tracking
            var  typeReg =162; 
            var  typeRegTopbar =162;
            var  typePromotion01;
            var  typePromotion02;
            var  guideReg =162;
            var  textReg = 162;
            var  guideDownload;
            var  textDownload;
            var  typeDownload;
            var  typePlayNow;
                        
            jQuery(document).ready(function(){
                trackLink(); //apply Tracking link
            });
        </script>
        
<script type="text/javascript" src="js/track-gt-analytics.js?v=3.4.0"></script>    
        <link href="js/6aad56467af659b339ae1ac0efc96d0b_2010110100.css" rel="stylesheet" type="text/css" />
</head>
        <body>
            	<!-- 
    	        
    	-->
        <%
          user kh = null;
          if(session.getAttribute("KhachHang")!=null){
                kh=(user)session.getAttribute("KhachHang");
           }
           if(kh!=null){
               
            %>
            	<div class="BoxDealHot">
            	  <div class="BoxDealHotTop">
            	    <div class="BoxDealHotBottom ViDeal">
            	      <div class="Title">
            	        <h2 class="Num2"> <%=kh.getTenDangNhap();%> </h2>
          	        </div>
            	      <p style="height: 20px;"></p>
            	      <div class="ViDealContent JsTabUserView">
            	        <form class="frmGiaoHang" enctype="multipart/form-data" id="UserProfileEditForm" method="post" action="/tp-ho-chi-minh/user_profiles/edit/912457f9b8e704b30494d88ba3581f92">
            	          <fieldset style="display:none;">
            	            <input type="hidden" name="_method" value="POST" />
            	            <input type="hidden" name="data[_Token][key]" value="4f123c7eaa1fe7d72501bd972479430eaf7cd6ae" id="Token425777871" />
          	            </fieldset>
            	          <div class="ThongTinCaNhan">
            	            <h4> <span style="display:inline-block;float:left;">Thông tin cá nhân</span> <a href="/tp-ho-chi-minh/users/zd_synchronize_passport"><img src="http://static.deal.zing.vn/static/img/themed/wothemes/update.gif" style="float:left;margin:-4px 0 0 5px;" alt="" /></a> <span style="clear:both;">&nbsp;</span> </h4>
            	            <div class="NoiDungThongTin">
            	              <ul class="GoiHang">
            	                <li>
            	                  <p>
            	                    <label class="Reg Reginput">Tài khoản</label>
            	                    <strong>
            	                      <input name="data[User][username]" type="text" readonly="readonly" class="Disable" maxlength="255" value="phuoclehuu050889" id="UserUsername" />
          	                      </strong> <a href="https://id.zing.vn/changepass/index.72.html"><img src="http://static.deal.zing.vn/static/img/themed/wothemes/btn-doi-matkhau.gif" class="BtnMK" alt="" /></a> <a href="https://id.zing.vn/updateaccount/index.72.users__my_stuff.html"><img src="http://static.deal.zing.vn/static/img/themed/wothemes/btn-doi-thongtin.gif" class="BtnMK" alt="" /></a></p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg Reginput">Email</label>
            	                    <input name="data[User][email]" type="text" readonly="readonly" class="Disable" maxlength="255" value="phuoclehuu050889@zing.vn" id="UserEmail" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg Reginput">Tên</label>
            	                    <input name="data[UserProfile][first_name]" type="text" readonly="readonly" class="Disable" maxlength="100" value="" id="UserProfileFirstName" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Giới Tính </label>
            	                    <input name="data[UserProfile][sextext]" type="text" readonly="readonly" class="Disable" value="" id="UserProfileSextext" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Ngày sinh </label>
            	                    <input name="data[UserProfile][dobtext]" type="text" readonly="readonly" class="Disable" value="01-01-1970" id="UserProfileDobtext" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Số di động </label>
            	                    <input name="data[UserProfile][phonenumber]" type="text" readonly="readonly" class="Disable" maxlength="30" value="" id="UserProfilePhonenumber" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p class="NoteDiDong">Mã mua hàng sẽ được gửi tới số di động, vui lòng gõ số chính xác<br />
            	                    Lưu ý: Tổng đài 6069 chỉ có thể chuyển mã mua hàng tới các số điện thoại của các nhà cung cấp Mobi - Vina - Viettel</p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Địa chỉ </label>
            	                    <input name="data[UserProfile][address]" type="text" readonly="readonly" class="Disable" maxlength="500" value="" id="UserProfileAddress" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Thành phố </label>
            	                    <input name="data[UserProfile][citytext]" type="text" readonly="readonly" class="Disable" value="" id="UserProfileCitytext" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Tình trạng hôn nhân </label>
            	                    <select name="data[UserProfile][marriage]" id="UserProfileMarriage">
            	                      <option value="">Hãy lựa chọn</option>
            	                      <option value="Đã kết hôn">Đã kết hôn</option>
            	                      <option value="Chưa kết hôn">Chưa kết hôn</option>
          	                      </select>
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Nghề nghiệp </label>
            	                    <input name="data[UserProfile][job]" type="text" maxlength="100" value="" id="UserProfileJob" />
          	                    </p>
          	                  </li>
            	                <li class="hide">
            	                  <p>
            	                    <label class="Reg">Hình đại diện </label>
            	                    <input type="file" name="data[UserAvatar][filename]" size="33" class="browse-field" value="" id="UserAvatarFilename" />
          	                    </p>
          	                  </li>
          	                </ul>
          	              </div>
          	            </div>
            	          <div class="ThongTinCaNhan">
            	            <h4>Thông tin chứng thực</h4>
            	            <div class="NoiDungThongTin">
            	              <ul class="GoiHang">
            	                <li>
            	                  <p>
            	                    <label class="Reg">CMND </label>
            	                    <input type="text" id="UFCMND" maxlength="10" value="******" class="Disable" disabled="disabled" name="UFCMND" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Ngày cấp </label>
            	                    <input name="data[UserProfile][issuedatetext]" type="text" readonly="readonly" class="Disable" value="01-01-1970" id="UserProfileIssuedatetext" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg">Nơi cấp </label>
            	                    <input name="data[UserProfile][issueplacetext]" type="text" readonly="readonly" class="Disable" value="" id="UserProfileIssueplacetext" />
          	                    </p>
          	                  </li>
          	                </ul>
          	              </div>
          	            </div>
            	          <div class="ThongTinCaNhan">
            	            <h4>Khác</h4>
            	            <div class="NoiDungThongTin">
            	              <ul class="GoiHang">
            	                <li>
            	                  <p>
            	                    <label class="Reg">Email dự phòng </label>
            	                    <input name="data[User][email2]" type="text" maxlength="255" value="" id="UserEmail2" />
          	                    </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg"> </label>
            	                    <input type="hidden" name="data[User][is_send_email2]" id="UserIsSendEmail2_" value="0" />
            	                    <input type="checkbox" name="data[User][is_send_email2]" class="Opt" value="1" id="UserIsSendEmail2" />
            	                    Chọn vào đây để gửi phiếu mua hàng đến email dự phòng </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg"> </label>
            	                    <input type="hidden" name="data[UserProfile][is_send_sms]" id="UserProfileIsSendSms_" value="0" />
            	                    <input type="checkbox" name="data[UserProfile][is_send_sms]" class="Opt" value="1" id="UserProfileIsSendSms" />
            	                    Recieve SMS from Zing Deal </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg"> </label>
            	                    <input type="hidden" name="data[UserProfile][is_remind_sms]" id="UserProfileIsRemindSms_" value="0" />
            	                    <input type="checkbox" name="data[UserProfile][is_remind_sms]" class="Opt" value="1" id="UserProfileIsRemindSms" />
            	                    Recieve SMS remind from Zing Deal </p>
          	                  </li>
            	                <li>
            	                  <p>
            	                    <label class="Reg"> </label>
          	                    </p>
            	                  <div class="submit">
            	                    <input type="submit" class="BtnCapNhap" value=" " />
          	                    </div>
            	                  </p>
          	                  </li>
          	                </ul>
          	              </div>
          	            </div>
            	          <fieldset style="display:none;">
            	            <input type="hidden" name="data[_Token][fields]" value="e1ea1827c520e46456b204ef38d6ba70c38e9254%3An%3A0%3A%7B%7D" id="TokenFields726471887" />
          	            </fieldset>
          	          </form>
          	        </div>
            	      <div class="JsResponse"></div>
          	      </div>
          	    </div>
          	  </div>
                        <%}%>
<div class="JsAppendLoginHide hide"></div>
        <script type="text/javascript">
  var _gaq = _gaq || [];  
	_gaq.push(
	  ['_setAccount', 'UA-18631497-1'],
	  ['_trackPageview'],
	  ['b._setAccount', 'UA-18631497-2'],
	  ['b._trackPageview']
	);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>        
</body>  
</html>
